package com.limingfeiyu.platform.management.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 医院信息
 * </p>
 *
 * @author 黎铭飞羽
 * @since 2024-04-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("hospital_information")
@ApiModel(value="HospitalInformation对象", description="医院信息")
public class HospitalInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "医院ID")
    @TableId(value = "hospital_id", type = IdType.AUTO)
    private Long hospitalId;

    @ApiModelProperty(value = "医院名称")
    private String hospitalName;

    @ApiModelProperty(value = "医院简称")
    private String hospitalAbbreviation;

    @ApiModelProperty(value = "医院等级")
    private String hospitalLevel;

    @ApiModelProperty(value = "联系人名称")
    private String contactName;

    @ApiModelProperty(value = "联系人电话")
    private String contactPhone;

    @ApiModelProperty(value = "联系人QQ")
    private String contactQq;

    @ApiModelProperty(value = "联系人微信")
    private String contactWechat;

    @ApiModelProperty(value = "联系人电子邮箱")
    private String contactEmail;

    @ApiModelProperty(value = "省区")
    private String provincialArea;

    @ApiModelProperty(value = "市区")
    private String urbanArea;

    @ApiModelProperty(value = "地区")
    private String area;

    @ApiModelProperty(value = "定位x")
    private Float lat;

    @ApiModelProperty(value = "定位y")
    private Float lng;

    @ApiModelProperty(value = "详细地址")
    private String detailedAddress;

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    @TableLogic
    private String delFlag;


}
